package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 销售维修-车辆维修表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_sale_repair_garage")
public class ErpSaleRepairGarage extends Model<ErpSaleRepairGarage> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("order_id")
    private String orderId;
    /**
     * 汽修项目
     */
    @TableField("garage_project")
    private String garageProject;
    /**
     * 维修项目
     */
    @TableField("repair_project")
    private String repairProject;
    /**
     * 维修方式
     */
    @TableField("repair_mode")
    private String repairMode;
    /**
     * 工时
     */
    @TableField("work_time")
    private String workTime;
    /**
     * 费用
     */
    @TableField("money")
    private Double money;
/**
     * 费用承担
     */
    @TableField("money_c")
    private String moneyC;

    /**
     * 备注
     */
    @TableField("repair_remarks")
    private String repairRemarks;
    /**
     * 車牌號
     */
    @TableField("car_pai")
    private  String carPai;



    /**
     * 保险公司
     */
    private  transient  String insuranceCompany;

    /**
     * 保险单号
     */
    private  transient  String insurancepolicyno;

    public String getCarPai() {
        return carPai;
    }

    public void setCarPai(String carPai) {
        this.carPai = carPai;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getMoneyC() {
        return moneyC;
    }

    public void setMoneyC(String moneyC) {
        this.moneyC = moneyC;
    }

    public String getInsuranceCompany() {
        return insuranceCompany;
    }

    public void setInsuranceCompany(String insuranceCompany) {
        this.insuranceCompany = insuranceCompany;
    }

    public String getInsurancepolicyno() {
        return insurancepolicyno;
    }

    public void setInsurancepolicyno(String insurancepolicyno) {
        this.insurancepolicyno = insurancepolicyno;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGarageProject() {
        return garageProject;
    }

    public void setGarageProject(String garageProject) {
        this.garageProject = garageProject;
    }

    public String getRepairProject() {
        return repairProject;
    }

    public void setRepairProject(String repairProject) {
        this.repairProject = repairProject;
    }

    public String getRepairMode() {
        return repairMode;
    }

    public void setRepairMode(String repairMode) {
        this.repairMode = repairMode;
    }



    public String getRepairRemarks() {
        return repairRemarks;
    }

    public void setRepairRemarks(String repairRemarks) {
        this.repairRemarks = repairRemarks;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpSaleRepairGarage{" +
        ", id=" + id +
        ", orderId=" + orderId +
        ", garageProject=" + garageProject +
        ", repairProject=" + repairProject +
        ", repairMode=" + repairMode +
        ", repairRemarks=" + repairRemarks +
        "}";
    }
}
